<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="template.xhtml">
    <ui:define name="content">
        <div class="container">
            <h2><h:outputText value="Fill out your Email and your password will be sent to you"/></h2>
            <h:form id="tennisForm">
                <h:panelGrid columns="1" cellpadding="5">
                    <p:inputText type="email" id="email" placeholder="Email" value="#{registerUserBean.email}"/>
                    <p:commandButton value="Send" actionListener="#{registerUserBean.remind()}"/>
                </h:panelGrid>
            </h:form>
        </div>
    </ui:define>
</ui:composition>
</html>



